package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel
public class ArticleModelItemVO implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "模型id", example = "1442294836003573761")
    private Long id;

    /**
     * 扩展字段
     */
    @ApiModelProperty(value = "扩展字段", example = "[{fieldCode,fieldAliase,inputType,fieldName,isRequired,isSearch,defaultValue,maxlength,description,check,isExtend,id,sort}]")
    private String extendFieldList;

    /**
     * 文章模型名称
     */
    @ApiModelProperty(value = "模型名称", example = "文章模型1")
    private String name;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getExtendFieldList() {
        return extendFieldList;
    }

    public void setExtendFieldList(String extendFieldList) {
        this.extendFieldList = extendFieldList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ArticleModelItemVO{" +
                "id=" + id +
                ", extendFieldList='" + extendFieldList + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
